import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

import org.designwizard.exception.InexistentEntityException;
import org.designwizard.main.DesignWizard;


public class Parser {

	public static void main(String[] args) throws IOException, InexistentEntityException {
		
		DesignWizard dw = new DesignWizard("resources/allclasses");
		BufferedReader reader = new BufferedReader(new FileReader(new File("filtered.violations")));
		String linha;
		while ((linha = reader.readLine()) != null) {
			String[] split = linha.split(" ");
			System.out.println(dw.getMethod(split[0]).getClassName() + " " + split[1] + " " + dw.getMethod(split[2]).getClassName());
		}
		
	}
	
}
